﻿using System;
namespace DataLib.Model
{
	/// <summary>
	/// StorageData:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class StorageData
	{
		public StorageData()
		{}
		#region Model
		private int? _id;
		private int? _barcodeid=0;
		private int _storageid;
		private bool _isused;
		private decimal? _startnwt;
		private decimal? _endnwt;
		private decimal? _nwt;
		private string _storageno;
		private int? _inorout;
		private int? _goodsid;
		private string _goodscode;
		private string _goodsname;
		private int? _inoutid;
		private DateTime? _operdate;
		private string _operman;
		private int? _isdel=0;
		/// <summary>
		/// 
		/// </summary>
		public int? id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int? barcodeid
		{
			set{ _barcodeid=value;}
			get{return _barcodeid;}
		}
		/// <summary>
		/// 库位ID
		/// </summary>
		public int storageid
		{
			set{ _storageid=value;}
			get{return _storageid;}
		}
		/// <summary>
		/// 是否在用
		/// </summary>
		public bool isused
		{
			set{ _isused=value;}
			get{return _isused;}
		}
		/// <summary>
		/// 期初净重
		/// </summary>
		public decimal? startNwt
		{
			set{ _startnwt=value;}
			get{return _startnwt;}
		}
		/// <summary>
		/// 期末净重
		/// </summary>
		public decimal? endNwt
		{
			set{ _endnwt=value;}
			get{return _endnwt;}
		}
		/// <summary>
		/// 本次净重
		/// </summary>
		public decimal? nwt
		{
			set{ _nwt=value;}
			get{return _nwt;}
		}
		/// <summary>
		/// 库位编号
		/// </summary>
		public string storageno
		{
			set{ _storageno=value;}
			get{return _storageno;}
		}
		/// <summary>
		/// 进库还是出库(1进2出）
		/// </summary>
		public int? InOrOut
		{
			set{ _inorout=value;}
			get{return _inorout;}
		}
		/// <summary>
		/// 物品ID
		/// </summary>
		public int? goodsid
		{
			set{ _goodsid=value;}
			get{return _goodsid;}
		}
		/// <summary>
		/// 物品编码
		/// </summary>
		public string goodscode
		{
			set{ _goodscode=value;}
			get{return _goodscode;}
		}
		/// <summary>
		/// 物品描述
		/// </summary>
		public string goodsName
		{
			set{ _goodsname=value;}
			get{return _goodsname;}
		}
		/// <summary>
		/// 入库或者出库ID
		/// </summary>
		public int? inoutid
		{
			set{ _inoutid=value;}
			get{return _inoutid;}
		}
		/// <summary>
		/// 操作时间
		/// </summary>
		public DateTime? operDate
		{
			set{ _operdate=value;}
			get{return _operdate;}
		}
		/// <summary>
		/// 操作人员
		/// </summary>
		public string operman
		{
			set{ _operman=value;}
			get{return _operman;}
		}
		/// <summary>
		/// 是否删除 0 为正常 不删除
		/// </summary>
		public int? isdel
		{
			set{ _isdel=value;}
			get{return _isdel;}
		}
		#endregion Model

	}
}

